#ifndef ALBUM_H
#define ALBUM_H

#include "artist.h"
#include "song.h"

class Artist;
class Song;

class Album
{

public:
    Album(QString name);
    QList < Song* > * getSongs();
    void setSongs(QList < Song* > * newSongs);
    QString getName();
    QString getName() const;
    Artist * getArtist();
    void setArtist(Artist * artist);
    bool operator==(const Album &other) const;
    bool operator==(const QString &other) const;

private:
    QString name;
    Artist * artist;
    QList < Song* > * songs;
};

#endif // ALBUM_H
